package com.atgm.mall.gmmailmember.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("ums_member_social")
public class MemberSocialEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 社交id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 用户id
     */
    private Long memberId;

    /**
     * 令牌
     */
    private String accessToken;

    /**
     * 过期时间
     */
    private Long expiresIn;

    private Date createTime;

    private Date updateTime;

}
